<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Admin</title>
    <link href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/admin.css" rel="stylesheet" type="text/css"
          media="all"/>

    <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/font/sizzle.js"></script>
    <script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/font/cufon.js"></script>
    <script type="text/javascript"
            src="<?php echo Yii::app()->request->baseUrl; ?>/js/font/SF_Collegiate_400.font.js"></script>

    <script type="text/javascript">
        Cufon.set('fontFamily', 'SF Collegiate');
        Cufon.replace('.logo');
        function focus() {
            document.sForm.login_username.focus();
        }
        function cdata() {
            if (document.sForm.login_username.value == "" || document.sForm.login_psd.value == "") {
                alert("Please input the username or password!");
                focus();
                return false;
            }
            return true;
        }
    </script>
</head>
<body onload="focus();">

<div id="container">
    <div id="content">
        <div class="logo">
            Handball-profile
        </div>
        <div class="adminPanel">
            <form name="sForm" method="POST" action="<?php echo Yii::app()->request->baseUrl; ?>/index.php?r=auth/login"
                  onsubmit="return cdata();">
                <input type="hidden" name="admin" value="1">
                <table width=" 100%" border="0" class="adminTable">
                    <tr>
                        <th colspan="2" scope="row" class="adminFontTitle">Panel administrator</th>
                    </tr>
                    <tr>
                        <th width="41%" class="adminFont" scope="row">Admin:</th>
                        <td width="59%">
                            <input type="text" name="email" class="adminField" maxlength="20"/>
                        </td>
                    </tr>
                    <tr>
                        <th scope="row" class="adminFont">Password:</th>
                        <td>
                            <input type="password" name="password" class="adminField" maxlength="20"/>
                        </td>
                    </tr>
                    <tr>
                        <th colspan="2" scope="row" class="adminFont">
                            <input type="submit" value="Log in" class="adminBtn" style="margin-right: 12px"/>
                            <input type="reset" value="Reset" class="adminBtn"/>
                        </th>
                    </tr>
                </table>
            </form>
        </div>
        <div class="clearDiv"></div>
    </div>
</div>
<div id="footer">
    <p>handball-profile.com &copy; 2013 - All rights reserved - </p>
</div>
</body>
</html>